from base.base import Base


class AuthorizeBase(Base):

    def privacy_agree_button(self):
        return '//android.widget.TextView[@resource-id="com.dangdang.buy2:id/tv_sure"]'

    def authorize_agree_button(self):
        return '//android.widget.TextView[@resource-id="com.dangdang.buy2:id/tv_sure"]'

    def ad_close_button(self):
        return '//android.widget.TextView[@resource-id="com.dangdang.buy2:id/dialog_cancel_tv"]'
